

bool reachingPoints(int sx, int sy, int tx, int ty) {
    while(tx != ty){
        tx = tx % ty;
        ty = ty % tx;
    }
    return 0;
}